package com.sgzn.sgpay.enums;

import lombok.Getter;
import lombok.ToString;

/**
 * 是否默认投放地址
 * @author zhongzhongyong
 * @version Id: YesOrNo.java, v 0.1 2018/5/20 23:27 zhongzhongyong Exp $$
 */
@ToString
public enum YesOrNo {

    YES("1", "是"),
    NO("0", "否");

    @Getter
    private String code;

    @Getter
    private String desc;

    private YesOrNo(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
